//
//  SYDPasswordPayment.h
//  PinGJByOwnerSide
//
//  Created by lantaiyuan on 2017/8/11.
//  Copyright © 2017年 lantaiyuan. All rights reserved.
//

#import <UIKit/UIKit.h>
typedef void(^closeBtnClickBlock)(void);
typedef void(^forgetBtnClickBlock)(void);

@protocol PayWordViewDelegate<NSObject>
-(void)passwordTextFieldChanged:(NSString *)textfieldValue;
@end

@interface SYDPasswordPayment : UIView<UITextFieldDelegate>
/**
 *  清除密码
 */
- (void)clearUpPassword;
@property (nonatomic, copy) closeBtnClickBlock closeBlock;
@property(nonatomic,copy)forgetBtnClickBlock forgetBlock;

@property (nonatomic,assign) id<PayWordViewDelegate>delegate;
@end
